package com.ctshk.rpc.booking.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 统一供应商预订单
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-03-09
 */
@Data
@ApiModel(value="SupplierOrderPageDTO对象", description="统一供应商预订单")
public class SupplierOrderUnsubBookingPageDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "订单号")
    private String orderNumber;

    @ApiModelProperty(value = "所属团期ID(1 外挂单,2 系统单)")
    private Long scheduleId;

    @ApiModelProperty(value = "供应商ID")
    private Long supplierId;

    @ApiModelProperty(value = "供应商名称")
    private String supplierName;

    @ApiModelProperty(value = "预订类型ID(主数据)")
    private Long reserveTypeId;

    @ApiModelProperty(value = "销售单号(通用)")
    private String saleNumber;

    @ApiModelProperty(value = "产品编号(通用)")
    private String productNumber;

    @ApiModelProperty(value = "产品名称(通用)")
    private String productName;

    @ApiModelProperty(value = "供应商订单号")
    private String supplierOrderNumber;

    @ApiModelProperty(value = "产品类型,枚举ProductType")
    private Integer productType;

    @ApiModelProperty(value = "总金额")
    private BigDecimal totalFee;

    @ApiModelProperty(value = "币种ID")
    private Long currencyId;

    @ApiModelProperty(value = "币种")
    private String currency;

    @ApiModelProperty(value = "汇率")
    private Double exchangeRate;

    @ApiModelProperty(value = "应付金额")
    private BigDecimal payableAmount;

    @ApiModelProperty(value = "付款状态")
    private Integer payStatus;

    @ApiModelProperty(value = "已付金额")
    private BigDecimal paidAmount;

    @ApiModelProperty(value = "未付金额")
    private BigDecimal unPayAmount;

    @ApiModelProperty(value = "本位币金额")
    private BigDecimal standardAmount;

    @ApiModelProperty(value = "付款类型ID")
    private Long payTypeId;

    @ApiModelProperty(value = "付款类型")
    private String payType;

    @ApiModelProperty(value = "创建人Id")
    private Long createId;

    @ApiModelProperty(value = "创建人")
    private String create;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime gtmCreate;
}
